class CreateRoles < ActiveRecord::Migration
  def self.up
    create_table :roles do |t|
      t.text  :name
      t.text  :acronym
      t.timestamps
    end
    
    Role.create :name => "Scrum Master", :acronym => "SM"
    Role.create :name => "Product Owner", :acronym => "PO"
    Role.create :name => "Team", :acronym => "TM"
  end

  def self.down
    drop_table :roles
  end
end
